package cn.kgc.mushroomdatabaseprovider.mapper;

import cn.kgc.mushroomcommon.pojo.Commtype;
import cn.kgc.mushroomcommon.pojo.CommtypeExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CommtypeMapper {
    int countByExample(CommtypeExample example);

    int deleteByExample(CommtypeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Commtype record);

    int insertSelective(Commtype record);

    List<Commtype> selectByExample(CommtypeExample example);

    Commtype selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Commtype record, @Param("example") CommtypeExample example);

    int updateByExample(@Param("record") Commtype record, @Param("example") CommtypeExample example);

    int updateByPrimaryKeySelective(Commtype record);

    int updateByPrimaryKey(Commtype record);
}